from django.contrib import admin

# Register your models here.

from MirrorCore.models.User import User
from MirrorCore.models.Badge import Badge, AuthorBadge, CollectionBadge, ArticleBadge, EssayBadge
from MirrorCore.models.Collection import Collection
from MirrorCore.models.Content import Article, Essay


# class UserProfileAdmin(UserAdmin):
#     list_display = ('username', 'last_login', 'is_superuser', 'is_staff', 'is_active', 'date_joined')
#     fieldsets = (
#         (None, {'fields': ('username', 'password', 'nickname')}),
#     )
from MirrorCore.serializers.utils import UserProfileAdmin

admin.site.register(User,UserProfileAdmin)
admin.site.register(Badge)

admin.site.register(AuthorBadge)
admin.site.register(Collection)
admin.site.register(CollectionBadge)
admin.site.register(Article)
admin.site.register(ArticleBadge)
admin.site.register(Essay)
admin.site.register(EssayBadge)
